Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 4, 2022

Bumps mirai-core-jvm from 2.9.0-M1 to 2.12.0.

Release notes

Sourced from mirai-core-jvm's releases.

2.12.0

mirai-core

优化和修复

  • 修复部分情况下发送图片无法显示和发送 GIF 后图片不播放的问题 (#2114 by @​sandtechnology)

    此问题并非 2.12.0-RC 引入

mirai-console

优化和修复

  • 修复前置插件存在私有依赖时, 插件无法链接相同依赖的问题 (#2108)

    此问题于 2.11 引入

2.12.0-RC

2.12 带来以下主要更新:

  • EventChannel 到协程 Flow 的对接;
  • 消息链性能优化;
  • 针对开发易用性的优化;
  • 对调试插件的更好支持;
  • 大量文档更新;
  • 以及一些问题修复。

mirai-core

不兼容变更

  • 弃用 EmptyMessageChain,以 emptyMessageChain() 函数替换 (#1997)

    因为内部结构有变更,见下文。Java 可以 MessageUtils.emptyMessageChain() 替换。

  • MarketFace.contentToString 现在在原本会返回空字符串的情况下会返回 "[商城表情]" (#2030 by @​cssxsh)

    原本会返回空字符串是因为服务器提供的表情名称可能为空。

  • 修复 FileMessage 的序列化名称 (#2041 by @​cssxsh)

    以前错误地使用了 Image,现在改为 FileMessage。以前序列化的 FileMessage 可能会无法反序列化。

  • Image.equals 现在会比较全部属性

    而不是只比较 imageId。因为现在图片没有一些详细属性时可能无法发送。

  • 弃用 EventDisabled 属性 (#1911)

    它可以关闭事件功能,但这并不是明智的做法。

  • 弃用 GroupEntranceAnnouncementChangeEvent (#1873)

    这个事件在 2.7 增加 Announcements 时就已经无效了。

新特性

  • 优化 MessageChain 实现的性能,现在在大量调用 Message.plus

... (truncated)

Commits
  • 7983261 Set version to 2.12.0
  • 726575a Fix broken image and gif issue (#2114)
  • d028909 优化指令文档细节
  • 3c4dc77 Fix private dependencies resolving; fix #2108
  • 17588bd improve console it project structs
  • 71876a5 Set version to 2.12.0-RC
  • f527aa9 Update docs for commands
  • 90bc481 Allow overriding CommandArgumentContext in JCompositeCommand and JSimpleCommand
  • eeb3613 Add CommandContext and support retrieving original message chain from command...
  • 586c61b Fix navbar of new page ConsoleTerminal
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mirai-core-jvm](https://github.com/mamoe/mirai) from 2.9.0-M1 to 2.12.0.
- [Release notes](https://github.com/mamoe/mirai/releases)
- [Commits](mamoe/mirai@v2.9.0-M1...v2.12.0)

---
updated-dependencies:
- dependency-name: net.mamoe:mirai-core-jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 4, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 1, 2022

Superseded by #73.

@dependabot dependabot bot closed this Aug 1, 2022
@dependabot dependabot bot deleted the dependabot/maven/net.mamoe-mirai-core-jvm-2.12.0 branch August 1, 2022 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants